home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
ARMLINUX
/
MAIL
/
9707
/
000080_owner-linux-arm…r.rutgers.edu _Sat Jul 26 22:37:26 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-11-30
|
3KB
Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
Received: from nic.funet.fi (nic.funet.fi [128.214.248.6])
by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id WAA17509
for <willy@odie.fluff.org>; Sat, 26 Jul 1997 22:37:25 +0100
Received: from vger.rutgers.edu ([128.6.190.2] EHLO vger.rutgers.edu ident: root [port 53111]) by nic.funet.fi with ESMTP id <406-3759>; Sun, 27 Jul 1997 00:38:01 +0300
Received: by vger.rutgers.edu id <971154-8840>; Sat, 26 Jul 1997 17:32:28 -0400
Received: from sun3.nsfnet-relay.ac.uk ([128.86.8.50] EHLO sun3.nsfnet-relay.ac.uk ident: IDENT-NOT-QUERIED [port 4973]) by vger.rutgers.edu with ESMTP id <971164-8840>; Sat, 26 Jul 1997 17:32:13 -0400
Received: from bright.ecs.soton.ac.uk by sun3.nsfnet-relay.ac.uk with JANET SMTP (PP); Sat, 26 Jul 1997 22:36:49 +0100
Received: from by bright.ecs.soton.ac.uk; Sat, 26 Jul 97 22:39:02 BST
Received: from raistlin.armlinux.org by caramon.armlinux.org; Sat, 26 Jul 1997 19:33:38 GMT
From: rmk@ecs.soton.ac.uk
Message-Id: <3580.199707261920@raistlin.armlinux.org>
Subject: Re: SIGFPE
To: Philip.Blundell@pobox.com (Philip Blundell)
Date: Sat, 26 Jul 1997 20:20:21 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu
In-Reply-To: <E0ws9zR-0001RG-00@kings-cross.london.uk.eu.org> from "Philip Blundell" at Jul 26, 97 05:46:44 pm
X-Mailer: ELM [version 2.4 PL24]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
Status: RO
Philip Blundell writes:
> Is there any support in the kernel for trapping floating point exceptions
> (divide by zero and so on) and delivering a SIGFPE to the offending process?
> I don't see it in traps.c, but maybe I'm looking in the wrong place...
Why would it be in traps.c? It is actually in the FPE since that's the logical
place for it to be (since it's just a call to the send_sig function, or more
specifically, it's module alias fp_send_sig.
I have specifically aliased a load of kernel functions to specific names for
the FPE (since I want to be in complete control of the FPE interface). These
names are unversioned as well.
The FPE will deliver SIGFPE whenever an enabled exception is triggered. Please
see RiscOS 3 PRM V4 for more information about the exceptions and enabling them.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk92@ecs.soton.ac.uk --- ---
| | | | http://whirligig.ecs.soton.ac.uk/~rmk92/home.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | * who wishes that he was in Hong Kong * --- |
+-+-+ ------------------------------------------------- /\\\ |